using Godot;

public abstract partial class BehaviorBase : Node
{
    /*public virtual BehaviorResult Tick(Node _actor)
    {
        GD.Print("我这里是c#的tick,以及传入的节点名字" + _actor.Name);
        return BehaviorResult.SUCCESS;
    }*/


    public abstract BehaviorResult tick(Node _actor);

    public virtual void interrupt(Node _actor)
    {
        GD.Print("可以不继承不是吗");
    }

    public virtual void beforeRun(Node _actor)
    {

    }

    public virtual void afterRun(Node _actor)
    {

    }
}

